<%@ include file="common.jspf"%>
<%@ include file="header.jspf"%>

<div class="container">
	<blockquote>
		<h3>English Create</h3>
	</blockquote>
	<form:form role="form" modelAttribute="english">
		<div class="form-group">
			<form:label path="title">Title</form:label> 
			<form:input path="title" type="text" class="form-control"/>
		</div>
		<div class="form-group">
			<form:label path="content">Content</form:label> 
			<form:textarea path="content" class="form-control" rows="10"></form:textarea>
		</div>
		<div class="form-group pull-right">
			<button id="btnSubmit" type="submit" class="btn btn-default">
				<span class="glyphicon glyphicon-save"></span> Submit
			</button>
			<button id="btnCancel" type="button" class="btn btn-default">
				<span class="glyphicon glyphicon-step-backward"></span> Cancel
			</button>
		</div>
	</form:form>
</div>

<script>
	$(function() {
		initEvents();
	});
	
	function initEvents() {
		$('#btnCancel').click(back);
	}
</script>

<%@ include file="footer.jspf"%>